package com.twarder.hibernate.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Role entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Role implements java.io.Serializable {

	// Fields

	private Integer id;
	private String descript;
	private String other;
	private Set users = new HashSet(0);
	private Set roledirs = new HashSet(0);

	// Constructors

	/** default constructor */
	public Role() {
	}

	/** full constructor */
	public Role(String descript, String other, Set users, Set roledirs) {
		this.descript = descript;
		this.other = other;
		this.users = users;
		this.roledirs = roledirs;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDescript() {
		return this.descript;
	}

	public void setDescript(String descript) {
		this.descript = descript;
	}

	public String getOther() {
		return this.other;
	}

	public void setOther(String other) {
		this.other = other;
	}

	public Set getUsers() {
		return this.users;
	}

	public void setUsers(Set users) {
		this.users = users;
	}

	public Set getRoledirs() {
		return this.roledirs;
	}

	public void setRoledirs(Set roledirs) {
		this.roledirs = roledirs;
	}

}